    package facturacion;

    public class IVA {
    public double precio;
    public double total;
    public final double iva = 0.19;
    public IVA (double precio)
    {this.precio = precio;
    }

    public IVA(double precio, double total) 
    {
        this.precio = precio;
        this.total = total;
    }
    
    public double calc_iva ()
    {
        return (int)(precio * iva);
    }
    
    public double total()
    {
        return (precio + iva);
    }
    
}
    